using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Input;
using CsharpPoker.Core;

namespace CsharpPoker
{
    /// <summary>
    /// The `StartScene` is just an option menu with a pertty bg and some flashy text related to CSP.
    /// </summary>
    public class GameSceneTemplate : GameScene
    {
        // Input
        protected InputWrapper inputWrapper;

        // Gui Stuff
        protected SpriteBatch spriteBatch = null;

        // Textures

        // Fonts

        // reference to the Game this scene is taking place in.
        Game game;

        /// <summary>
        /// Default Constructor
        /// </summary>
        /// <param name="game">Main game object</param>
        /// <param name="smallFont">Font for the menu items</param>
        /// <param name="largeFont">Font for the menu selcted item</param>
        /// <param name="background">Texture for background image</param>
        /// <param name="elements">Texture with the foreground elements</param>
        public GameSceneTemplate(Game game)
            : base(game)
        {
            this.game = game;

            // Get the audio library
            //audio = (AudioLibrary) Game.Services.GetService(typeof(AudioLibrary));
            inputWrapper = new InputWrapper();
        }

        /// <summary>
        /// Show the start scene
        /// </summary>
        public override void Show()
        {
            base.Show();
        }

        /// <summary>
        /// Hide the start scene
        /// </summary>
        public override void Hide()
        {
            //MediaPlayer.Stop();
            base.Hide();
        }

        public override void Initialize()
        {
            base.Initialize();
        }

        protected override void LoadContent()
        {
            // Get the current spritebatch
            spriteBatch = (SpriteBatch)Game.Services.GetService(typeof(SpriteBatch));

            //Components.Add(this);
            base.LoadContent();
        }

        public override void Input(KeyboardState keyboardState)
        {

            base.Input(keyboardState);
        }

        /// <summary>
        /// Allows the game component to update itself.
        /// </summary>
        /// <param name="gameTime">Provides a snapshot of timing values.</param>
        public override void Update(GameTime gameTime)
        {
            base.Update(gameTime);
        }

        /// <summary>
        /// Allows the game component to draw itself.
        /// </summary>
        /// <param name="gameTime">Provides a snapshot of timing values.</param>
        public override void Draw(GameTime gameTime)
        {
            base.Draw(gameTime);
        }
    }
}